home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / howtoc1r / venndiag.frm (.txt) next >
Encoding:
Visual Basic Form  |  1998-08-07  |  37.5 KB  |  1,251 lines

  1. VERSION 5.00
  2. Begin VB.Form VennDiagram 
  3.    Caption         =   "Venn Diagrams"
  4.    ClientHeight    =   7305
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   10680
  8.    LinkTopic       =   "Form1"
  9.    ScaleHeight     =   7305
  10.    ScaleWidth      =   10680
  11.    Begin VB.TextBox txtinformation 
  12.       BackColor       =   &H8000000A&
  13.       Height          =   285
  14.       Index           =   7
  15.       Left            =   720
  16.       Locked          =   -1  'True
  17.       TabIndex        =   83
  18.       Text            =   "[ NOT (P) And NOT (Q) And R ]"
  19.       Top             =   6600
  20.       Visible         =   0   'False
  21.       Width           =   3375
  22.    End
  23.    Begin VB.TextBox txtinformation 
  24.       BackColor       =   &H8000000A&
  25.       Height          =   285
  26.       Index           =   6
  27.       Left            =   720
  28.       Locked          =   -1  'True
  29.       TabIndex        =   82
  30.       Text            =   "[ NOT (P) And Q And NOT (R) ]"
  31.       Top             =   6240
  32.       Visible         =   0   'False
  33.       Width           =   3375
  34.    End
  35.    Begin VB.TextBox txtinformation 
  36.       BackColor       =   &H8000000A&
  37.       Height          =   285
  38.       Index           =   5
  39.       Left            =   720
  40.       Locked          =   -1  'True
  41.       TabIndex        =   81
  42.       Text            =   "[ NOT (P) And Q And R ]"
  43.       Top             =   5880
  44.       Visible         =   0   'False
  45.       Width           =   3375
  46.    End
  47.    Begin VB.TextBox txtinformation 
  48.       BackColor       =   &H8000000A&
  49.       Height          =   285
  50.       Index           =   4
  51.       Left            =   720
  52.       Locked          =   -1  'True
  53.       TabIndex        =   80
  54.       Text            =   "[ P And NOT (Q) And NOT (R) ]"
  55.       Top             =   5520
  56.       Visible         =   0   'False
  57.       Width           =   3375
  58.    End
  59.    Begin VB.TextBox txtinformation 
  60.       BackColor       =   &H8000000A&
  61.       Height          =   285
  62.       Index           =   3
  63.       Left            =   720
  64.       Locked          =   -1  'True
  65.       TabIndex        =   79
  66.       Text            =   "[ P And NOT (Q) And R ]"
  67.       Top             =   5160
  68.       Visible         =   0   'False
  69.       Width           =   3375
  70.    End
  71.    Begin VB.TextBox txtinformation 
  72.       BackColor       =   &H8000000A&
  73.       Height          =   285
  74.       Index           =   2
  75.       Left            =   720
  76.       Locked          =   -1  'True
  77.       TabIndex        =   78
  78.       Text            =   "[ P And Q And NOT (R) ]"
  79.       Top             =   4800
  80.       Visible         =   0   'False
  81.       Width           =   3375
  82.    End
  83.    Begin VB.TextBox txtinformation 
  84.       BackColor       =   &H8000000A&
  85.       Height          =   285
  86.       Index           =   1
  87.       Left            =   720
  88.       Locked          =   -1  'True
  89.       TabIndex        =   77
  90.       Text            =   "[ P And Q And R ] "
  91.       Top             =   4440
  92.       Visible         =   0   'False
  93.       Width           =   3375
  94.    End
  95.    Begin VB.TextBox txtinformation 
  96.       BackColor       =   &H8000000A&
  97.       Height          =   285
  98.       Index           =   8
  99.       Left            =   720
  100.       Locked          =   -1  'True
  101.       TabIndex        =   76
  102.       Text            =   "[ NOT (P) And NOT (Q) And NOT (R) ]"
  103.       Top             =   6960
  104.       Visible         =   0   'False
  105.       Width           =   3375
  106.    End
  107.    Begin VB.CommandButton btnReset 
  108.       Caption         =   "Reset"
  109.       Height          =   255
  110.       Left            =   3360
  111.       TabIndex        =   66
  112.       Top             =   600
  113.       Width           =   615
  114.    End
  115.    Begin VB.OptionButton optSets 
  116.       Caption         =   "3 Sets"
  117.       Height          =   375
  118.       Index           =   3
  119.       Left            =   4440
  120.       TabIndex        =   57
  121.       Top             =   1800
  122.       Value           =   -1  'True
  123.       Width           =   855
  124.    End
  125.    Begin VB.OptionButton optSets 
  126.       Caption         =   "2 Sets"
  127.       Height          =   375
  128.       Index           =   2
  129.       Left            =   4440
  130.       TabIndex        =   56
  131.       Top             =   1440
  132.       Width           =   855
  133.    End
  134.    Begin VB.OptionButton optSets 
  135.       Caption         =   "1 Set"
  136.       Height          =   375
  137.       Index           =   1
  138.       Left            =   4440
  139.       TabIndex        =   55
  140.       Top             =   1080
  141.       Width           =   855
  142.    End
  143.    Begin VB.TextBox Text1 
  144.       Height          =   285
  145.       Index           =   3
  146.       Left            =   2640
  147.       MaxLength       =   1
  148.       TabIndex        =   54
  149.       Text            =   "R"
  150.       Top             =   600
  151.       Width           =   375
  152.    End
  153.    Begin VB.TextBox Text1 
  154.       Height          =   285
  155.       Index           =   2
  156.       Left            =   2040
  157.       MaxLength       =   1
  158.       TabIndex        =   53
  159.       Text            =   "Q"
  160.       Top             =   600
  161.       Width           =   375
  162.    End
  163.    Begin VB.TextBox Text1 
  164.       Height          =   285
  165.       Index           =   1
  166.       Left            =   1440
  167.       MaxLength       =   1
  168.       TabIndex        =   52
  169.       Text            =   "P"
  170.       Top             =   600
  171.       Width           =   375
  172.    End
  173.    Begin VB.CheckBox Check1 
  174.       Caption         =   "Check1"
  175.       Height          =   255
  176.       Index           =   8
  177.       Left            =   3240
  178.       TabIndex        =   38
  179.       Top             =   3600
  180.       Width           =   255
  181.    End
  182.    Begin VB.CheckBox Check1 
  183.       Caption         =   "Check1"
  184.       Height          =   255
  185.       Index           =   7
  186.       Left            =   3240
  187.       TabIndex        =   37
  188.       Top             =   3240
  189.       Width           =   255
  190.    End
  191.    Begin VB.CheckBox Check1 
  192.       Caption         =   "Check1"
  193.       Height          =   255
  194.       Index           =   6
  195.       Left            =   3240
  196.       TabIndex        =   36
  197.       Top             =   2880
  198.       Width           =   255
  199.    End
  200.    Begin VB.CheckBox Check1 
  201.       Caption         =   "Check1"
  202.       Height          =   255
  203.       Index           =   5
  204.       Left            =   3240
  205.       TabIndex        =   35
  206.       Top             =   2520
  207.       Width           =   255
  208.    End
  209.    Begin VB.CheckBox Check1 
  210.       Caption         =   "Check1"
  211.       Height          =   255
  212.       Index           =   4
  213.       Left            =   3240
  214.       TabIndex        =   34
  215.       Top             =   2160
  216.       Width           =   255
  217.    End
  218.    Begin VB.CheckBox Check1 
  219.       Caption         =   "Check1"
  220.       Height          =   255
  221.       Index           =   3
  222.       Left            =   3240
  223.       TabIndex        =   33
  224.       Top             =   1800
  225.       Width           =   255
  226.    End
  227.    Begin VB.CheckBox Check1 
  228.       Caption         =   "Check1"
  229.       Height          =   255
  230.       Index           =   2
  231.       Left            =   3240
  232.       TabIndex        =   32
  233.       Top             =   1440
  234.       Width           =   255
  235.    End
  236.    Begin VB.CheckBox Check1 
  237.       Caption         =   "Check1"
  238.       Height          =   255
  239.       Index           =   1
  240.       Left            =   3240
  241.       TabIndex        =   31
  242.       Top             =   1080
  243.       Width           =   255
  244.    End
  245.    Begin VB.TextBox txtR 
  246.       Height          =   285
  247.       Index           =   1
  248.       Left            =   2640
  249.       Locked          =   -1  'True
  250.       TabIndex        =   23
  251.       Text            =   "T"
  252.       Top             =   1080
  253.       Width           =   375
  254.    End
  255.    Begin VB.TextBox txtQ 
  256.       Height          =   285
  257.       Index           =   1
  258.       Left            =   2040
  259.       Locked          =   -1  'True
  260.       TabIndex        =   22
  261.       Text            =   "T"
  262.       Top             =   1080
  263.       Width           =   375
  264.    End
  265.    Begin VB.TextBox txtP 
  266.       Height          =   285
  267.       Index           =   1
  268.       Left            =   1440
  269.       Locked          =   -1  'True
  270.       TabIndex        =   21
  271.       Text            =   "T"
  272.       Top             =   1080
  273.       Width           =   375
  274.    End
  275.    Begin VB.TextBox txtR 
  276.       Height          =   285
  277.       Index           =   8
  278.       Left            =   2640
  279.       Locked          =   -1  'True
  280.       TabIndex        =   20
  281.       Text            =   "F"
  282.       Top             =   3600
  283.       Width           =   375
  284.    End
  285.    Begin VB.TextBox txtQ 
  286.       Height          =   285
  287.       Index           =   8
  288.       Left            =   2040
  289.       Locked          =   -1  'True
  290.       TabIndex        =   19
  291.       Text            =   "F"
  292.       Top             =   3600
  293.       Width           =   375
  294.    End
  295.    Begin VB.TextBox txtP 
  296.       Height          =   285
  297.       Index           =   8
  298.       Left            =   1440
  299.       Locked          =   -1  'True
  300.       TabIndex        =   18
  301.       Text            =   "F"
  302.       Top             =   3600
  303.       Width           =   375
  304.    End
  305.    Begin VB.TextBox txtR 
  306.       Height          =   285
  307.       Index           =   7
  308.       Left            =   2640
  309.       Locked          =   -1  'True
  310.       TabIndex        =   17
  311.       Text            =   "T"
  312.       Top             =   3240
  313.       Width           =   375
  314.    End
  315.    Begin VB.TextBox txtQ 
  316.       Height          =   285
  317.       Index           =   7
  318.       Left            =   2040
  319.       Locked          =   -1  'True
  320.       TabIndex        =   16
  321.       Text            =   "F"
  322.       Top             =   3240
  323.       Width           =   375
  324.    End
  325.    Begin VB.TextBox txtP 
  326.       Height          =   285
  327.       Index           =   7
  328.       Left            =   1440
  329.       Locked          =   -1  'True
  330.       TabIndex        =   15
  331.       Text            =   "F"
  332.       Top             =   3240
  333.       Width           =   375
  334.    End
  335.    Begin VB.TextBox txtR 
  336.       Height          =   285
  337.       Index           =   6
  338.       Left            =   2640
  339.       Locked          =   -1  'True
  340.       TabIndex        =   14
  341.       Text            =   "F"
  342.       Top             =   2880
  343.       Width           =   375
  344.    End
  345.    Begin VB.TextBox txtQ 
  346.       Height          =   285
  347.       Index           =   6
  348.       Left            =   2040
  349.       Locked          =   -1  'True
  350.       TabIndex        =   13
  351.       Text            =   "T"
  352.       Top             =   2880
  353.       Width           =   375
  354.    End
  355.    Begin VB.TextBox txtP 
  356.       Height          =   285
  357.       Index           =   6
  358.       Left            =   1440
  359.       Locked          =   -1  'True
  360.       TabIndex        =   12
  361.       Text            =   "F"
  362.       Top             =   2880
  363.       Width           =   375
  364.    End
  365.    Begin VB.TextBox txtR 
  366.       Height          =   285
  367.       Index           =   5
  368.       Left            =   2640
  369.       Locked          =   -1  'True
  370.       TabIndex        =   11
  371.       Text            =   "T"
  372.       Top             =   2520
  373.       Width           =   375
  374.    End
  375.    Begin VB.TextBox txtQ 
  376.       Height          =   285
  377.       Index           =   5
  378.       Left            =   2040
  379.       Locked          =   -1  'True
  380.       TabIndex        =   10
  381.       Text            =   "T"
  382.       Top             =   2520
  383.       Width           =   375
  384.    End
  385.    Begin VB.TextBox txtP 
  386.       Height          =   285
  387.       Index           =   5
  388.       Left            =   1440
  389.       Locked          =   -1  'True
  390.       TabIndex        =   9
  391.       Text            =   "F"
  392.       Top             =   2520
  393.       Width           =   375
  394.    End
  395.    Begin VB.TextBox txtR 
  396.       Height          =   285
  397.       Index           =   4
  398.       Left            =   2640
  399.       Locked          =   -1  'True
  400.       TabIndex        =   8
  401.       Text            =   "F"
  402.       Top             =   2160
  403.       Width           =   375
  404.    End
  405.    Begin VB.TextBox txtQ 
  406.       Height          =   285
  407.       Index           =   4
  408.       Left            =   2040
  409.       Locked          =   -1  'True
  410.       TabIndex        =   7
  411.       Text            =   "F"
  412.       Top             =   2160
  413.       Width           =   375
  414.    End
  415.    Begin VB.TextBox txtP 
  416.       Height          =   285
  417.       Index           =   4
  418.       Left            =   1440
  419.       Locked          =   -1  'True
  420.       TabIndex        =   6
  421.       Text            =   "T"
  422.       Top             =   2160
  423.       Width           =   375
  424.    End
  425.    Begin VB.TextBox txtR 
  426.       Height          =   285
  427.       Index           =   3
  428.       Left            =   2640
  429.       Locked          =   -1  'True
  430.       TabIndex        =   5
  431.       Text            =   "T"
  432.       Top             =   1800
  433.       Width           =   375
  434.    End
  435.    Begin VB.TextBox txtQ 
  436.       Height          =   285
  437.       Index           =   3
  438.       Left            =   2040
  439.       Locked          =   -1  'True
  440.       TabIndex        =   4
  441.       Text            =   "F"
  442.       Top             =   1800
  443.       Width           =   375
  444.    End
  445.    Begin VB.TextBox txtP 
  446.       Height          =   285
  447.       Index           =   3
  448.       Left            =   1440
  449.       Locked          =   -1  'True
  450.       TabIndex        =   3
  451.       Text            =   "T"
  452.       Top             =   1800
  453.       Width           =   375
  454.    End
  455.    Begin VB.TextBox txtR 
  456.       Height          =   285
  457.       Index           =   2
  458.       Left            =   2640
  459.       Locked          =   -1  'True
  460.       TabIndex        =   2
  461.       Text            =   "F"
  462.       Top             =   1440
  463.       Width           =   375
  464.    End
  465.    Begin VB.TextBox txtQ 
  466.       Height          =   285
  467.       Index           =   2
  468.       Left            =   2040
  469.       Locked          =   -1  'True
  470.       TabIndex        =   1
  471.       Text            =   "T"
  472.       Top             =   1440
  473.       Width           =   375
  474.    End
  475.    Begin VB.TextBox txtP 
  476.       Height          =   285
  477.       Index           =   2
  478.       Left            =   1440
  479.       Locked          =   -1  'True
  480.       TabIndex        =   0
  481.       Text            =   "T"
  482.       Top             =   1440
  483.       Width           =   375
  484.    End
  485.    Begin VB.Label Label3 
  486.       Alignment       =   2  'Center
  487.       Caption         =   "Disjunctive normal form"
  488.       BeginProperty Font 
  489.          Name            =   "MS Sans Serif"
  490.          Size            =   13.5
  491.          Charset         =   0
  492.          Weight          =   700
  493.          Underline       =   0   'False
  494.          Italic          =   0   'False
  495.          Strikethrough   =   0   'False
  496.       EndProperty
  497.       Height          =   495
  498.       Left            =   600
  499.       TabIndex        =   93
  500.       Top             =   4080
  501.       Width           =   3615
  502.    End
  503.    Begin VB.Label lblNumbered 
  504.       Caption         =   "1"
  505.       Height          =   255
  506.       Index           =   15
  507.       Left            =   120
  508.       TabIndex        =   92
  509.       Top             =   1080
  510.       Width           =   255
  511.    End
  512.    Begin VB.Label lblNumbered 
  513.       Caption         =   "2"
  514.       Height          =   255
  515.       Index           =   14
  516.       Left            =   120
  517.       TabIndex        =   91
  518.       Top             =   1440
  519.       Width           =   255
  520.    End
  521.    Begin VB.Label lblNumbered 
  522.       Caption         =   "3"
  523.       Height          =   255
  524.       Index           =   13
  525.       Left            =   120
  526.       TabIndex        =   90
  527.       Top             =   1800
  528.       Width           =   255
  529.    End
  530.    Begin VB.Label lblNumbered 
  531.       Caption         =   "4"
  532.       Height          =   255
  533.       Index           =   12
  534.       Left            =   120
  535.       TabIndex        =   89
  536.       Top             =   2160
  537.       Width           =   255
  538.    End
  539.    Begin VB.Label lblNumbered 
  540.       Caption         =   "5"
  541.       Height          =   255
  542.       Index           =   11
  543.       Left            =   120
  544.       TabIndex        =   88
  545.       Top             =   2520
  546.       Width           =   255
  547.    End
  548.    Begin VB.Label lblNumbered 
  549.       Caption         =   "6"
  550.       Height          =   255
  551.       Index           =   10
  552.       Left            =   120
  553.       TabIndex        =   87
  554.       Top             =   2880
  555.       Width           =   255
  556.    End
  557.    Begin VB.Label lblNumbered 
  558.       Caption         =   "7"
  559.       Height          =   255
  560.       Index           =   9
  561.       Left            =   120
  562.       TabIndex        =   86
  563.       Top             =   3240
  564.       Width           =   255
  565.    End
  566.    Begin VB.Label lblNumbered 
  567.       Caption         =   "8"
  568.       Height          =   255
  569.       Index           =   0
  570.       Left            =   120
  571.       TabIndex        =   85
  572.       Top             =   3600
  573.       Width           =   255
  574.    End
  575.    Begin VB.Line Line3 
  576.       X1              =   3120
  577.       X2              =   3120
  578.       Y1              =   480
  579.       Y2              =   3840
  580.    End
  581.    Begin VB.Line Line2 
  582.       X1              =   720
  583.       X2              =   4080
  584.       Y1              =   960
  585.       Y2              =   960
  586.    End
  587.    Begin VB.Line Line1 
  588.       X1              =   720
  589.       X2              =   4080
  590.       Y1              =   480
  591.       Y2              =   480
  592.    End
  593.    Begin VB.Label lblNumbered 
  594.       Caption         =   "8"
  595.       Height          =   255
  596.       Index           =   8
  597.       Left            =   120
  598.       TabIndex        =   75
  599.       Top             =   6960
  600.       Width           =   255
  601.    End
  602.    Begin VB.Label lblNumbered 
  603.       Caption         =   "7"
  604.       Height          =   255
  605.       Index           =   7
  606.       Left            =   120
  607.       TabIndex        =   74
  608.       Top             =   6600
  609.       Width           =   255
  610.    End
  611.    Begin VB.Label lblNumbered 
  612.       Caption         =   "6"
  613.       Height          =   255
  614.       Index           =   6
  615.       Left            =   120
  616.       TabIndex        =   73
  617.       Top             =   6240
  618.       Width           =   255
  619.    End
  620.    Begin VB.Label lblNumbered 
  621.       Caption         =   "5"
  622.       Height          =   255
  623.       Index           =   5
  624.       Left            =   120
  625.       TabIndex        =   72
  626.       Top             =   5880
  627.       Width           =   255
  628.    End
  629.    Begin VB.Label lblNumbered 
  630.       Caption         =   "4"
  631.       Height          =   255
  632.       Index           =   4
  633.       Left            =   120
  634.       TabIndex        =   71
  635.       Top             =   5520
  636.       Width           =   255
  637.    End
  638.    Begin VB.Label lblNumbered 
  639.       Caption         =   "3"
  640.       Height          =   255
  641.       Index           =   3
  642.       Left            =   120
  643.       TabIndex        =   70
  644.       Top             =   5160
  645.       Width           =   255
  646.    End
  647.    Begin VB.Label lblNumbered 
  648.       Caption         =   "2"
  649.       Height          =   255
  650.       Index           =   2
  651.       Left            =   120
  652.       TabIndex        =   69
  653.       Top             =   4800
  654.       Width           =   255
  655.    End
  656.    Begin VB.Label lblNumbered 
  657.       Caption         =   "1"
  658.       Height          =   255
  659.       Index           =   1
  660.       Left            =   120
  661.       TabIndex        =   68
  662.       Top             =   4440
  663.       Width           =   255
  664.    End
  665.    Begin VB.Label lblSelects 
  666.       Caption         =   "Select 5"
  667.       Height          =   255
  668.       Index           =   2
  669.       Left            =   720
  670.       TabIndex        =   65
  671.       Top             =   1440
  672.       Width           =   615
  673.    End
  674.    Begin VB.Label lblSelects 
  675.       Caption         =   "Select 2"
  676.       Height          =   255
  677.       Index           =   8
  678.       Left            =   720
  679.       TabIndex        =   64
  680.       Top             =   3600
  681.       Width           =   615
  682.    End
  683.    Begin VB.Label lblSelects 
  684.       Caption         =   "Select 6"
  685.       Height          =   255
  686.       Index           =   4
  687.       Left            =   720
  688.       TabIndex        =   63
  689.       Top             =   2160
  690.       Width           =   615
  691.    End
  692.    Begin VB.Label lblSelects 
  693.       Caption         =   "Select 8"
  694.       Height          =   255
  695.       Index           =   7
  696.       Left            =   720
  697.       TabIndex        =   62
  698.       Top             =   3240
  699.       Width           =   615
  700.    End
  701.    Begin VB.Label lblSelects 
  702.       Caption         =   "Select 4"
  703.       Height          =   255
  704.       Index           =   6
  705.       Left            =   720
  706.       TabIndex        =   61
  707.       Top             =   2880
  708.       Width           =   615
  709.    End
  710.    Begin VB.Label lblSelects 
  711.       Caption         =   "Select 3"
  712.       Height          =   255
  713.       Index           =   3
  714.       Left            =   720
  715.       TabIndex        =   60
  716.       Top             =   1800
  717.       Width           =   615
  718.    End
  719.    Begin VB.Label lblSelects 
  720.       Caption         =   "Select 7"
  721.       Height          =   255
  722.       Index           =   5
  723.       Left            =   720
  724.       TabIndex        =   59
  725.       Top             =   2520
  726.       Width           =   615
  727.    End
  728.    Begin VB.Label lblSelects 
  729.       Caption         =   "Select 1"
  730.       Height          =   255
  731.       Index           =   1
  732.       Left            =   720
  733.       TabIndex        =   58
  734.       Top             =   1080
  735.       Width           =   615
  736.    End
  737.    Begin VB.Shape Shape5 
  738.       Height          =   1335
  739.       Left            =   4320
  740.       Top             =   960
  741.       Width           =   1095
  742.    End
  743.    Begin VB.Label lblSet 
  744.       BackStyle       =   0  'Transparent
  745.       Caption         =   "R"
  746.       BeginProperty Font 
  747.          Name            =   "MS Sans Serif"
  748.          Size            =   18
  749.          Charset         =   0
  750.          Weight          =   700
  751.          Underline       =   0   'False
  752.          Italic          =   0   'False
  753.          Strikethrough   =   0   'False
  754.       EndProperty
  755.       Height          =   375
  756.       Index           =   3
  757.       Left            =   7800
  758.       TabIndex        =   51
  759.       Top             =   5400
  760.       Width           =   375
  761.    End
  762.    Begin VB.Label lblSet 
  763.       BackStyle       =   0  'Transparent
  764.       Caption         =   "Q"
  765.       BeginProperty Font 
  766.          Name            =   "MS Sans Serif"
  767.          Size            =   18
  768.          Charset         =   0
  769.          Weight          =   700
  770.          Underline       =   0   'False
  771.          Italic          =   0   'False
  772.          Strikethrough   =   0   'False
  773.       EndProperty
  774.       Height          =   375
  775.       Index           =   2
  776.       Left            =   9720
  777.       TabIndex        =   50
  778.       Top             =   1800
  779.       Width           =   375
  780.    End
  781.    Begin VB.Label lblSet 
  782.       BackStyle       =   0  'Transparent
  783.       Caption         =   "P"
  784.       BeginProperty Font 
  785.          Name            =   "MS Sans Serif"
  786.          Size            =   18
  787.          Charset         =   0
  788.          Weight          =   700
  789.          Underline       =   0   'False
  790.          Italic          =   0   'False
  791.          Strikethrough   =   0   'False
  792.       EndProperty
  793.       Height          =   375
  794.       Index           =   1
  795.       Left            =   6000
  796.       TabIndex        =   49
  797.       Top             =   1800
  798.       Width           =   375
  799.    End
  800.    Begin VB.Label Label6 
  801.       BackStyle       =   0  'Transparent
  802.       Caption         =   "U"
  803.       BeginProperty Font 
  804.          Name            =   "MS Sans Serif"
  805.          Size            =   18
  806.          Charset         =   0
  807.          Weight          =   700
  808.          Underline       =   0   'False
  809.          Italic          =   0   'False
  810.          Strikethrough   =   0   'False
  811.       EndProperty
  812.       Height          =   375
  813.       Left            =   10080
  814.       TabIndex        =   48
  815.       Top             =   5640
  816.       Width           =   375
  817.    End
  818.    Begin VB.Label lblSelect 
  819.       BackStyle       =   0  'Transparent
  820.       Caption         =   "Select 2"
  821.       BeginProperty Font 
  822.          Name            =   "MS Sans Serif"
  823.          Size            =   8.25
  824.          Charset         =   0
  825.          Weight          =   700
  826.          Underline       =   0   'False
  827.          Italic          =   0   'False
  828.          Strikethrough   =   0   'False
  829.       EndProperty
  830.       Height          =   255
  831.       Index           =   8
  832.       Left            =   9480
  833.       TabIndex        =   47
  834.       Top             =   5400
  835.       Visible         =   0   'False
  836.       Width           =   855
  837.    End
  838.    Begin VB.Label Label5 
  839.       Caption         =   "False"
  840.       Height          =   255
  841.       Index           =   8
  842.       Left            =   3600
  843.       TabIndex        =   46
  844.       Top             =   3600
  845.       Width           =   615
  846.    End
  847.    Begin VB.Label Label5 
  848.       Caption         =   "False"
  849.       Height          =   255
  850.       Index           =   7
  851.       Left            =   3600
  852.       TabIndex        =   45
  853.       Top             =   3240
  854.       Width           =   615
  855.    End
  856.    Begin VB.Label Label5 
  857.       Caption         =   "False"
  858.       Height          =   255
  859.       Index           =   6
  860.       Left            =   3600
  861.       TabIndex        =   44
  862.       Top             =   2880
  863.       Width           =   615
  864.    End
  865.    Begin VB.Label Label5 
  866.       Caption         =   "False"
  867.       Height          =   255
  868.       Index           =   5
  869.       Left            =   3600
  870.       TabIndex        =   43
  871.       Top             =   2520
  872.       Width           =   615
  873.    End
  874.    Begin VB.Label Label5 
  875.       Caption         =   "False"
  876.       Height          =   255
  877.       Index           =   4
  878.       Left            =   3600
  879.       TabIndex        =   42
  880.       Top             =   2160
  881.       Width           =   615
  882.    End
  883.    Begin VB.Label Label5 
  884.       Caption         =   "False"
  885.       Height          =   255
  886.       Index           =   3
  887.       Left            =   3600
  888.       TabIndex        =   41
  889.       Top             =   1800
  890.       Width           =   615
  891.    End
  892.    Begin VB.Label Label5 
  893.       Caption         =   "False"
  894.       Height          =   255
  895.       Index           =   2
  896.       Left            =   3600
  897.       TabIndex        =   40
  898.       Top             =   1440
  899.       Width           =   615
  900.    End
  901.    Begin VB.Label Label5 
  902.       Caption         =   "False"
  903.       Height          =   255
  904.       Index           =   1
  905.       Left            =   3600
  906.       TabIndex        =   39
  907.       Top             =   1080
  908.       Width           =   615
  909.    End
  910.    Begin VB.Label lblSelect 
  911.       BackStyle       =   0  'Transparent
  912.       Caption         =   "Select 8"
  913.       BeginProperty Font 
  914.          Name            =   "MS Sans Serif"
  915.          Size            =   8.25
  916.          Charset         =   0
  917.          Weight          =   700
  918.          Underline       =   0   'False
  919.          Italic          =   0   'False
  920.          Strikethrough   =   0   'False
  921.       EndProperty
  922.       ForeColor       =   &H8000000E&
  923.       Height          =   255
  924.       Index           =   7
  925.       Left            =   7680
  926.       TabIndex        =   30
  927.       Top             =   4680
  928.       Visible         =   0   'False
  929.       Width           =   735
  930.    End
  931.    Begin VB.Label lblSelect 
  932.       BackStyle       =   0  'Transparent
  933.       Caption         =   "Select 4"
  934.       BeginProperty Font 
  935.          Name            =   "MS Sans Serif"
  936.          Size            =   8.25
  937.          Charset         =   0
  938.          Weight          =   700
  939.          Underline       =   0   'False
  940.          Italic          =   0   'False
  941.          Strikethrough   =   0   'False
  942.       EndProperty
  943.       ForeColor       =   &H8000000E&
  944.       Height          =   255
  945.       Index           =   6
  946.       Left            =   9240
  947.       TabIndex        =   29
  948.       Top             =   2400
  949.       Visible         =   0   'False
  950.       Width           =   735
  951.    End
  952.    Begin VB.Label lblSelect 
  953.       BackStyle       =   0  'Transparent
  954.       Caption         =   "Select 7"
  955.       BeginProperty Font 
  956.          Name            =   "MS Sans Serif"
  957.          Size            =   8.25
  958.          Charset         =   0
  959.          Weight          =   700
  960.          Underline       =   0   'False
  961.          Italic          =   0   'False
  962.          Strikethrough   =   0   'False
  963.       EndProperty
  964.       ForeColor       =   &H8000000E&
  965.       Height          =   255
  966.       Index           =   5
  967.       Left            =   8520
  968.       TabIndex        =   28
  969.       Top             =   3720
  970.       Visible         =   0   'False
  971.       Width           =   855
  972.    End
  973.    Begin VB.Label lblSelect 
  974.       BackStyle       =   0  'Transparent
  975.       Caption         =   "Select 6"
  976.       BeginProperty Font 
  977.          Name            =   "MS Sans Serif"
  978.          Size            =   8.25
  979.          Charset         =   0
  980.          Weight          =   700
  981.          Underline       =   0   'False
  982.          Italic          =   0   'False
  983.          Strikethrough   =   0   'False
  984.       EndProperty
  985.       ForeColor       =   &H8000000E&
  986.       Height          =   255
  987.       Index           =   4
  988.       Left            =   6000
  989.       TabIndex        =   27
  990.       Top             =   2400
  991.       Visible         =   0   'False
  992.       Width           =   855
  993.    End
  994.    Begin VB.Label lblSelect 
  995.       BackStyle       =   0  'Transparent
  996.       Caption         =   "Select 3"
  997.       BeginProperty Font 
  998.          Name            =   "MS Sans Serif"
  999.          Size            =   8.25
  1000.          Charset         =   0
  1001.          Weight          =   700
  1002.          Underline       =   0   'False
  1003.          Italic          =   0   'False
  1004.          Strikethrough   =   0   'False
  1005.       EndProperty
  1006.       ForeColor       =   &H8000000E&
  1007.       Height          =   255
  1008.       Index           =   3
  1009.       Left            =   6720
  1010.       TabIndex        =   26
  1011.       Top             =   3720
  1012.       Visible         =   0   'False
  1013.       Width           =   855
  1014.    End
  1015.    Begin VB.Label lblSelect 
  1016.       BackStyle       =   0  'Transparent
  1017.       Caption         =   "Select 5"
  1018.       BeginProperty Font 
  1019.          Name            =   "MS Sans Serif"
  1020.          Size            =   8.25
  1021.          Charset         =   0
  1022.          Weight          =   700
  1023.          Underline       =   0   'False
  1024.          Italic          =   0   'False
  1025.          Strikethrough   =   0   'False
  1026.       EndProperty
  1027.       ForeColor       =   &H8000000E&
  1028.       Height          =   255
  1029.       Index           =   2
  1030.       Left            =   7680
  1031.       TabIndex        =   25
  1032.       Top             =   2160
  1033.       Visible         =   0   'False
  1034.       Width           =   855
  1035.    End
  1036.    Begin VB.Label lblSelect 
  1037.       BackStyle       =   0  'Transparent
  1038.       Caption         =   "Select 1"
  1039.       BeginProperty Font 
  1040.          Name            =   "MS Sans Serif"
  1041.          Size            =   8.25
  1042.          Charset         =   0
  1043.          Weight          =   700
  1044.          Underline       =   0   'False
  1045.          Italic          =   0   'False
  1046.          Strikethrough   =   0   'False
  1047.       EndProperty
  1048.       ForeColor       =   &H8000000E&
  1049.       Height          =   255
  1050.       Index           =   1
  1051.       Left            =   7680
  1052.       TabIndex        =   24
  1053.       Top             =   3120
  1054.       Visible         =   0   'False
  1055.       Width           =   855
  1056.    End
  1057.    Begin VB.Shape Shape 
  1058.       DrawMode        =   3  'Not Merge Pen
  1059.       FillColor       =   &H00FF0000&
  1060.       FillStyle       =   0  'Solid
  1061.       Height          =   3135
  1062.       Index           =   3
  1063.       Left            =   6360
  1064.       Shape           =   3  'Circle
  1065.       Top             =   2760
  1066.       Width           =   3255
  1067.    End
  1068.    Begin VB.Shape Shape 
  1069.       DrawMode        =   3  'Not Merge Pen
  1070.       FillColor       =   &H0000FF00&
  1071.       FillStyle       =   0  'Solid
  1072.       Height          =   3135
  1073.       Index           =   2
  1074.       Left            =   7200
  1075.       Shape           =   3  'Circle
  1076.       Top             =   1200
  1077.       Width           =   3255
  1078.    End
  1079.    Begin VB.Shape Shape 
  1080.       DrawMode        =   3  'Not Merge Pen
  1081.       FillColor       =   &H000000FF&
  1082.       FillStyle       =   0  'Solid
  1083.       Height          =   3135
  1084.       Index           =   1
  1085.       Left            =   5520
  1086.       Shape           =   3  'Circle
  1087.       Top             =   1200
  1088.       Width           =   3255
  1089.    End
  1090.    Begin VB.Shape Shape3 
  1091.       DrawMode        =   10  'Mask Pen
  1092.       FillColor       =   &H00E0E0E0&
  1093.       FillStyle       =   0  'Solid
  1094.       Height          =   5175
  1095.       Left            =   5400
  1096.       Top             =   960
  1097.       Width           =   5175
  1098.    End
  1099.    Begin VB.Label Label2 
  1100.       Alignment       =   2  'Center
  1101.       Caption         =   "Venn Diagram"
  1102.       BeginProperty Font 
  1103.          Name            =   "MS Sans Serif"
  1104.          Size            =   18
  1105.          Charset         =   0
  1106.          Weight          =   700
  1107.          Underline       =   0   'False
  1108.          Italic          =   0   'False
  1109.          Strikethrough   =   0   'False
  1110.       EndProperty
  1111.       Height          =   495
  1112.       Left            =   5400
  1113.       TabIndex        =   67
  1114.       Top             =   480
  1115.       Width           =   5175
  1116.    End
  1117.    Begin VB.Label Label1 
  1118.       Alignment       =   2  'Center
  1119.       Caption         =   "Truth Table"
  1120.       BeginProperty Font 
  1121.          Name            =   "MS Sans Serif"
  1122.          Size            =   18
  1123.          Charset         =   0
  1124.          Weight          =   700
  1125.          Underline       =   0   'False
  1126.          Italic          =   0   'False
  1127.          Strikethrough   =   0   'False
  1128.       EndProperty
  1129.       Height          =   495
  1130.       Left            =   720
  1131.       TabIndex        =   84
  1132.       Top             =   0
  1133.       Width           =   3375
  1134.    End
  1135. Attribute VB_Name = "VennDiagram"
  1136. Attribute VB_GlobalNameSpace = False
  1137. Attribute VB_Creatable = False
  1138. Attribute VB_PredeclaredId = True
  1139. Attribute VB_Exposed = False
  1140. Private Sub btnReset_Click()
  1141.     Dim i As Integer
  1142.     For i = 1 To 8
  1143.         Check1(i).Value = False
  1144.     Next i
  1145. End Sub
  1146. Private Sub Check1_Click(Index As Integer)
  1147.     If lblSelect(Index).Visible = False Then
  1148.         lblSelect(Index).Visible = True
  1149.         Label5(Index).Caption = "True"
  1150.         txtinformation(Index).Visible = True
  1151.     Else
  1152.         lblSelect(Index).Visible = False
  1153.         Label5(Index).Caption = "False"
  1154.         txtinformation(Index).Visible = False
  1155.     End If
  1156. End Sub
  1157. Private Sub optSets_Click(Index As Integer)
  1158.     Dim i As Integer
  1159.     btnReset_Click
  1160.     Select Case Index
  1161.         
  1162.         Case 1
  1163.             For i = 2 To 3
  1164.                 lblSet(i).Visible = False
  1165.                 Shape(i).Visible = False
  1166.                 Text1(i).Visible = False
  1167.             Next i
  1168.             
  1169.             For i = 2 To 7
  1170.                 lblSelects(i).Visible = False
  1171.                 txtP(i).Visible = False
  1172.                 txtQ(i).Visible = False
  1173.                 txtR(i).Visible = False
  1174.                 Check1(i).Visible = False
  1175.                 Label5(i).Visible = False
  1176.                 Check1(i).Visible = False
  1177.             Next i
  1178.             txtQ(1).Visible = False
  1179.             txtR(1).Visible = False
  1180.             txtQ(8).Visible = False
  1181.             txtR(8).Visible = False
  1182.             txtinformation(1).Text = "[ P ]"
  1183.             txtinformation(8).Text = "[ NOT (P) ]"
  1184.         Case 2
  1185.             i = 3
  1186.             lblSet(i).Visible = False
  1187.             Shape(i).Visible = False
  1188.             Text1(i).Visible = False
  1189.             For i = 1 To 8
  1190.                 txtP(i).Visible = True
  1191.                 txtR(i).Visible = False
  1192.                 Label5(i).Visible = True
  1193.                 txtQ(i).Visible = True
  1194.                 lblSelects(i).Visible = True
  1195.                 Check1(i).Visible = True
  1196.             Next i
  1197.             i = 2
  1198.             lblSet(i).Visible = True
  1199.             Shape(i).Visible = True
  1200.             Text1(i).Visible = True
  1201.             txtQ(2).Visible = False
  1202.             txtQ(4).Visible = False
  1203.             txtQ(5).Visible = False
  1204.             txtQ(7).Visible = False
  1205.             txtQ(8).Visible = True
  1206.             txtP(2).Visible = False
  1207.             txtP(4).Visible = False
  1208.             txtP(5).Visible = False
  1209.             txtP(7).Visible = False
  1210.             Label5(2).Visible = False
  1211.             Label5(4).Visible = False
  1212.             Label5(5).Visible = False
  1213.             Label5(7).Visible = False
  1214.             Check1(2).Visible = False
  1215.             Check1(4).Visible = False
  1216.             Check1(5).Visible = False
  1217.             Check1(7).Visible = False
  1218.             lblSelects(2).Visible = False
  1219.             lblSelects(4).Visible = False
  1220.             lblSelects(5).Visible = False
  1221.             lblSelects(7).Visible = False
  1222.             txtinformation(1).Text = "[ P And Q ]"
  1223.             txtinformation(3).Text = "[ P And NOT (Q) ]"
  1224.             txtinformation(6).Text = "[ NOT (P) And Q ]"
  1225.             txtinformation(8).Text = "[ NOT (P) And NOT (Q) ]"
  1226.         Case 3
  1227.             For i = 2 To 3
  1228.                 lblSet(i).Visible = True
  1229.                 Shape(i).Visible = True
  1230.                 Text1(i).Visible = True
  1231.                 Check1(i).Visible = True
  1232.             Next i
  1233.             For i = 1 To 8
  1234.                 txtP(i).Visible = True
  1235.                 txtQ(i).Visible = True
  1236.                 txtR(i).Visible = True
  1237.                 Check1(i).Visible = True
  1238.                 Label5(i).Visible = True
  1239.                 lblSelects(i).Visible = True
  1240.             Next i
  1241.             txtinformation(1).Text = "[ P And Q And R ]"
  1242.             txtinformation(3).Text = "[ P And NOT (Q) And R ]"
  1243.             txtinformation(6).Text = "[ NOT (P) And Q And NOT (R) ]"
  1244.             txtinformation(8).Text = "[ NOT (P) And NOT (Q) And NOT (R) ]"
  1245.      End Select
  1246.         
  1247. End Sub
  1248. Private Sub Text1_Change(Index As Integer)
  1249.     lblSet(Index) = Text1(Index)
  1250. End Sub
  1251.